projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
019ccc6
)
Bug 622333 - Crash in gdk_window_impl_quartz_begin_paint_region
author
John Ralls
<jralls@ceridwen.us>
Sat, 26 Jun 2010 16:17:30 +0000
(18:17 +0200)
committer
Kristian Rietveld
<kris@gtk.org>
Sun, 27 Jun 2010 09:00:20 +0000
(11:00 +0200)
(cherry picked from commit
093a867e51b383b5c1877415b410cc3c122c72da
)
gdk/quartz/gdkwindow-quartz.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/gdkwindow-quartz.c
b/gdk/quartz/gdkwindow-quartz.c
index 8de986c52d51c1f1737064198ff04aa7797d7bb5..da4e8c94e1afc6a2a57655d129e4bceeebe4c5ba 100644
(file)
--- a/
gdk/quartz/gdkwindow-quartz.c
+++ b/
gdk/quartz/gdkwindow-quartz.c
@@
-259,6
+259,9
@@
gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
gdk_region_get_rectangles (clipped_and_offset_region, &rects, &n_rects);
+ if (n_rects == 0)
+ goto done;
+
if (bg_pixmap == NULL)
{
CGContextRef cg_context;